package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 菜单关系对应表
 * </p>
 *
 * @author dengc
 * @since 2023-05-16
 */
@Getter
@Setter
@TableName("ams_relation")
@ApiModel(value = "Relation对象", description = "菜单关系对应表")
public class Relation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色id")
    private Integer roleid;

    @ApiModelProperty("地址")
    private String path;

    @ApiModelProperty("服务名称")
    private String servicename;

    @ApiModelProperty("图标")
    private String icon;

}
